package view.impl.menu.items;

import org.newdawn.slick.Color;
import org.newdawn.slick.Image;

public class ArrowData {
	private Image img;
	private int itemStartPosX;
	private int itemPosY;
	private int itemWidth;
	private int itemHeight;
	private Color color;
	
	public ArrowData(Image img, int itemStartPosX, int itemPosY, int itemWidth, int itemHeight, Color color) {
		this.img = img;
		this.itemStartPosX = itemStartPosX;
		this.itemPosY = itemPosY;
		this.itemWidth = itemWidth;
		this.itemHeight = itemHeight;
		this.color = color;
	}
	
	/**
	 * @return the img
	 */
	public Image getImg() {
		return img;
	}

	/**
	 * @return the textStartPosX
	 */
	public int getTextStartPosX() {
		return itemStartPosX;
	}

	/**
	 * @return the textPosY
	 */
	public int getTextPosY() {
		return itemPosY;
	}

	/**
	 * @return the textWidth
	 */
	public int getTextWidth() {
		return itemWidth;
	}

	/**
	 * @return the textHeight
	 */
	public int getTextHeight() {
		return itemHeight;
	}
	
	/**
	 * @return the color
	 */
	public Color getColor() {
		return color;
	}
	
	public int getCenteredPosY() {
		return itemPosY + itemHeight / 2;
	}
	
}
